#include "stdio.h"
void main()
{
    short x=0x8543, y=1, z=2;
    int p=0x12345678, q=3;
    asm ( 
        "movzwl -0x16(%ebp) , %eax\n\t"
        "mov %ax, -0x14(%ebp)\n\t"
        "movswl -0x16(%ebp), %eax\n\t"
        "mov %eax, -0xc(%ebp)\n\t"
        "mov -0x10(%ebp), %eax\n\t"
        "mov %ax, -0x12(%ebp)\n\t"
    );

    printf("x= %d,y= %d,z=%d\n", x, y, z);
    printf("p= %d,q= %d\n", p, q);
}

